load("@rules_rust//rust:defs.bzl", "rust_library", "rust_test")

package(default_visibility = ["//visibility:public"])

rust_library(
    name = "registry",
    srcs = glob(["src/*.rs"]),
    crate_name = "ic_interfaces_registry",
    version = "0.9.0",
    deps = [
        # Keep sorted.
        "//rs/types/types",
        "@crate_index//:prost",
        "@crate_index//:serde",
    ],
)

rust_test(
    name = "registry_test",
    crate = ":registry",
)
